package com.alex.cms.service.impl;

import java.util.List;

import com.alex.cms.domain.CmsArticle;
import com.alex.cms.domain.CmsSpecial;
import com.alex.cms.dao.CmsSpecialMapper;
import com.alex.cms.service.ICmsSpecialService;
import com.alex.cms.web.vo.SpecialVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

/**
 * <p>
 * 专题表 服务实现类
 * </p>
 *
 * @author alex
 * @since 2019-10-24
 */
@Service
public class CmsSpecialServiceImpl extends ServiceImpl<CmsSpecialMapper, CmsSpecial> implements ICmsSpecialService {

	@Override
	public List<SpecialVo> getAllSpecial(QueryWrapper<SpecialVo> queryWrapper) {
		return this.baseMapper.getAllSpecial(queryWrapper);
	}

	@Override
	public List<CmsArticle> getArticleByAid(QueryWrapper<CmsArticle> queryWrapper) {
		return this.baseMapper.getArticleByAid(queryWrapper);
	}

}
